<template>
    <div class="vvipInx">
        <!-- 面包屑 -->
        <el-bread></el-bread>
        <!-- list表格 -->
        <v-list @edit="edit" class="list"></v-list>
        <!-- dialog弹框 -->
        <v-dialog ref="diaLogs" @cancel="cancel" :isShow="isShow"></v-dialog>
    </div>
</template>
<script>
import vDialog from './dialog.vue'
import vList from "./list.vue"
export default {
    data() {
        return {
            isShow:false
        }
    },
    components: { vDialog, vList },
    mounted() {

    },
    methods: {
        //取消  管理dialog
        cancel(){
            this.isShow = false
        },
        //添加  开启dialog
        edit(uid){
            this.isShow = true
            //uid用于获取回显信息
            this.$refs.diaLogs.lookup(uid)
        }
    }
}
</script>
<style scoped>
.list {
    margin-top: 10px;
}
</style>